package org.sunflower.search.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.TimeUnit;

@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping
    public String hello() throws InterruptedException {
        TimeUnit.MINUTES.sleep(100);
        return "hello";
    }
}
